package com.zbkj.crmeb.store.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

@Data
@Accessors(chain = true)
@TableName("eb_channel_free_shipping_activity")
@ApiModel("ChannelFreeShippingActivity对象")
public class ChannelFreeShippingActivity implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "活动名称")
    private String activityName;

    @ApiModelProperty(value = "活动时间类型")
    private Integer activityTimeType;

    @ApiModelProperty(value = "活动开始时间")
    private Date activityStartTime;

    @ApiModelProperty(value = "活动结束时间")
    private Date activityEndTime;

    @ApiModelProperty(value = "活动商品id 1:全部商品 0:单独设置")
    private Integer allProduct;

    @ApiModelProperty(value = "优惠条件")
    private Integer preferentialType;

    @ApiModelProperty(value = "优惠门槛")
    private Integer preferentialCondition;

    @ApiModelProperty(value = "是否包邮 0：不包邮 1：包邮")
    private Boolean freeShipping;

    @ApiModelProperty(value = "是否设置不包邮地区 0: 不设置 1：设置")
    private Boolean notFreeAreaSetting;

    @ApiModelProperty(value = "商户id")
    private Integer merId;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;
}
